package com.wanjia.estate.pojo.tax;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class A020 {
    @Data
    public static class Taxbizml<T> implements Serializable {
        @JSONField(name = "FCJYQSWSPZLIST")
        private T fcjyqswspzlist;
    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class RequestTwenty extends CommonRoot<Taxbizml<List<RequestFcjyqswspzlist>>> {

    }

    @Data
    public static class RequestFcjyqswspzlist implements Serializable {
        @JSONField(name = "SJBH")
        private String sjbh;
        @JSONField(name = "SJRQ")
        private Date sjrq;
        @JSONField(name = "ZLFCLFBZ")
        private String zlfclfbz;
        @JSONField(name = "SJGSDQ")
        private String sjgsdq;
        @JSONField(name = "HTBH")
        private String htbh;
        @JSONField(name = "NSRSBH")
        private String nsrsbh;//纳税人识别号

    }

//    @Data
//    public static class Response {
//        private int code;
//        private ResponseDataTwenty data;
//        private String message;
//    }
//    @Data
//    public static class ResponseDataTwenty implements Serializable {
//        private TaxbizmlTwenty taxbizml;
//    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class Response extends CommonRoot<TaxbizmlTwenty> {
    }

    @Data
    public static class TaxbizmlTwenty implements Serializable {
        private List<Fcjyqswspzlist> fcjyqswspzlist;
        private List<Qswsfjxxlist> qswsfjxxlist;
    }
    @Data
    public static class Fcjyqswspzlist implements Serializable {
        @JSONField(name = "FHM")
        private String fhm;
        @JSONField(name = "FHXX")
        private String fhxx;
        @JSONField(name = "SJBH")
        private String sjbh;
        @JSONField(name = "HTBH")
        private String htbh;
        @JSONField(name = "WSFS")
        private String wsfs;

    }
    @Data
    public static class Qswsfjxxlist implements Serializable{
        @JSONField(name = "FJLX")
        private String fjlx;
        @JSONField(name = "FJID")
        private String fjid;
        @JSONField(name = "WJSJ")
        private String wjsj;
    }

}
